package top.tagao.m02_creationalPatterns.c_05_AbstructFactory.factories;

import top.tagao.m02_creationalPatterns.c_05_AbstructFactory.buttons.Button;
import top.tagao.m02_creationalPatterns.c_05_AbstructFactory.buttons.MacOSButton;
import top.tagao.m02_creationalPatterns.c_05_AbstructFactory.checkboxes.Checkbox;
import top.tagao.m02_creationalPatterns.c_05_AbstructFactory.checkboxes.MacOSCheckbox;
import top.tagao.m02_creationalPatterns.c_05_AbstructFactory.factories.GUIAbstractFactory;

/**
 * @author fu-xiao-liu
 * @Date 2022/7/25 22:23
 */
public class MacOSFactory implements GUIAbstractFactory {
    @Override
    public Button createButton() {
        return new MacOSButton();
    }

    @Override
    public Checkbox createCheckbox() {
        return new MacOSCheckbox();
    }
}
